package com.guan.ioc.config;

import org.apache.naming.factory.DataSourceLinkFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class DataSourceConfig {
    @Bean
    public DataSourceLinkFactory dataSourceLinkFactory() {
        DataSourceLinkFactory dataSourceLinkFactory = new DataSourceLinkFactory();
        return dataSourceLinkFactory;
    }
}
